<?
	$title="Add Restaurant"; 
	$pageid="5";
	$accessid="a00";
	
	
	require("required/dbconnect.php"); 
	require("required/function.php");
	checkAccess("allow_product_category",1);
	$id=de_id($_POST['id']);
	$category_eng=mysql_escape_string($_POST['category_eng']);
	$order_id=$_POST['order_id'];
        $is_publish=$_POST['is_publish'];
	$update="update os_category set name_eng='$category_eng',order_id='$order_id',is_publish='$is_publish' where id=$id";

	$update_q=mysql_query($update)or die(mysql_error());
	header("Location:cat_management.php?action=3");	
?>
